import request from "./request";

/**
 * @function fetchPost
 * @description  Post请求
 */

export async function fetchPost(data: any) {
  return request<any>({
    url: "/coupon-config/login",
    method: "post",
    data,
  });
}

export async function queryShopList(data: any) {
  return request<any>({
    url: "/query_shop/xfy.json",
    method: "get",
    data,
  });
}

export async function fetchClientCms(data: any) {
  return request<any>({
    url: "/ClientCms",
    method: "post",
    data,
  });
}
